/**
 * com.dingjian.basedata.person.service.impl.PersonPositionServiceImpl.java
 */
package com.dingjian.basedata.person.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.dingjian.base.dao.BaseDao;
import com.dingjian.base.service.impl.BaseServiceImpl;
import com.dingjian.basedata.person.dao.PersonPositionDao;
import com.dingjian.basedata.person.model.PersonPosition;
import com.dingjian.basedata.person.service.PersonPositionService;

/**
 * @author FengMy
 * 
 * @since 2012-10-10
 */
@Component(value="personPositionService")
@Transactional
public class PersonPositionServiceImpl extends BaseServiceImpl<PersonPosition>
		implements PersonPositionService {
	@Autowired
	private PersonPositionDao personPositionDao;
	@Override
	public List<PersonPosition> getByPerson(String person) {
		return personPositionDao.getByPerson(person);
	}

	@Override
	protected BaseDao getDao() {
		return personPositionDao;
	}

}
